﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JM.JCY.BusinessEntity;

namespace JM.JCY.DataAccess
{
    public class IncorruptDA : JCYDataAccessBasecs
    {
        //内部监督有关事项自查表（业务部门）
        public void UpdateSelfControlBusiness(IncorruptDataSet.T_SelfControl_BusinessDataTable dt)
        {
            base.Helper.Update(dt);
        }

        public IncorruptDataSet.T_SelfControl_BusinessDataTable GetSelfControlBusiness(int Id, string filler)
        {
            var dt = new IncorruptDataSet.T_SelfControl_BusinessDataTable();
            base.Helper.Fill(dt, "P_SelfControl_Business_S", Id, filler);
            return dt;
        }

        //内部监督有关事项自查表（综合部门）
        public void UpdateSelfControlOverall(IncorruptDataSet.T_SelfControl_OverallDataTable dt)
        {
            base.Helper.Update(dt);
        }

        public IncorruptDataSet.T_SelfControl_OverallDataTable GetSelfControlOverall(int Id, string filler)
        {
            var dt = new IncorruptDataSet.T_SelfControl_OverallDataTable();
            base.Helper.Fill(dt, "P_SelfControl_Overall_S", Id, filler);
            return dt;
        }

        //个人重大事项报告表
        public void UpdatePersonImportantReport(IncorruptDataSet.T_PersonImportantReportDataTable dt)
        {
            base.Helper.Update(dt);
        }

        public IncorruptDataSet.T_PersonImportantReportDataTable GetPersonImportantReport(int Id, string reporter)
        {
            var dt = new IncorruptDataSet.T_PersonImportantReportDataTable();
            base.Helper.Fill(dt, "P_PersonImportantReport_S", Id, reporter);
            return dt;
        }

        //党员干部举办婚丧喜庆宴席审批表
        public void UpdateStaffWeddingApproval(IncorruptDataSet.T_StaffWedding_ApprovalDataTable dt)
        {
            base.Helper.Update(dt);
        }

        public IncorruptDataSet.T_StaffWedding_ApprovalDataTable GetStaffWeddingApproval(int Id, string applicant)
        {
            var dt = new IncorruptDataSet.T_StaffWedding_ApprovalDataTable();
            base.Helper.Fill(dt, "P_StaffWedding_Approval_S", Id, applicant);
            return dt;
        }

        //福建省检察机关领导干部遵守《廉政准则》和《廉洁从检若干规定》对照检查表
        public void UpdateLianZhengLianJieCheck(IncorruptDataSet.T_LianZhengLianjieCheckDataTable dt)
        {
            base.Helper.Update(dt);
        }

        public IncorruptDataSet.T_LianZhengLianjieCheckDataTable GetLianZhengLianJieCheck(int Id, string signBy)
        {
            var dt = new IncorruptDataSet.T_LianZhengLianjieCheckDataTable();
            base.Helper.Fill(dt, "P_LianZhengLianjieCheck_S", Id, signBy);
            return dt;

        }

        //检风检纪记录情况
        public void UpdateJianFengJianJi(IncorruptDataSet.T_JianFengJianJiDataTable dt)
        {
            base.Helper.Update(dt);
        }

        public IncorruptDataSet.T_JianFengJianJiDataTable GetJianFengJianJi(int Id, string number, DateTime? startDate, DateTime? endDate, string name)
        {
            var dt = new IncorruptDataSet.T_JianFengJianJiDataTable();
            base.Helper.Fill(dt, "P_JianFengJianJi_S", Id, number, startDate, endDate, name);
            return dt;
        }

        //检务督察记录情况
        public void UpdateJianWuDuCha(IncorruptDataSet.T_JianWuDuChaDataTable dt)
        {
            base.Helper.Update(dt);
        }

        public IncorruptDataSet.T_JianWuDuChaDataTable GetJianWuDuCha(int Id, string number, DateTime? startDate, DateTime? endDate, string name)
        {
            var dt = new IncorruptDataSet.T_JianWuDuChaDataTable();
            base.Helper.Fill(dt, "P_JianWuDuCha_S", Id, number, startDate, endDate, name);
            return dt;
        }

        //违法违纪情况
        public void UpdateWeiFaWeiJi(IncorruptDataSet.T_WeiFaWeiJiDataTable dt)
        {
            base.Helper.Update(dt);
        }

        public IncorruptDataSet.T_WeiFaWeiJiDataTable GetWeiFaWeiJi(int Id, string number, DateTime? startDate, DateTime? endDate, string name)
        {
            var dt = new IncorruptDataSet.T_WeiFaWeiJiDataTable();
            base.Helper.Fill(dt, "P_WeiFaWeiJi_S", Id, number, startDate, endDate, name);
            return dt;
        }

        //领导干部收入申报表
        public void UpdateLingDaoSalary(IncorruptDataSet.T_LingDaoSalaryDataTable dt)
        {
            base.Helper.Update(dt);
        }

        public IncorruptDataSet.T_LingDaoSalaryDataTable GetLingDaoSalary(int Id, string name)
        {
            var dt = new IncorruptDataSet.T_LingDaoSalaryDataTable();
            base.Helper.Fill(dt, "P_LingDaoSalary_S", Id, name);
            return dt;
        }

        //检察干警配偶子女从业情况申报登记表
        public void UpdateJianChaGanbuPeiOuCongYe(IncorruptDataSet.T_JianChaGanbuPeiOuCongYeDataTable dt)
        {
            base.Helper.Update(dt);
        }

        public IncorruptDataSet.T_JianChaGanbuPeiOuCongYeDataTable GetJianChaGanbuPeiOuCongYe(int Id, string name)
        {
            var dt = new IncorruptDataSet.T_JianChaGanbuPeiOuCongYeDataTable();
            base.Helper.Fill(dt, "P_JianChaGanbuPeiOuCongYe_S", Id, name);
            return dt;
        }

        //领导干部党风廉政建设检查评议登记表
        public void UpdateLingDaoDangFengCheck(IncorruptDataSet.T_LingDaoDangFengCheckDataTable dt)
        {
            base.Helper.Update(dt);
        }

        public IncorruptDataSet.T_LingDaoDangFengCheckDataTable GetLingDaoDangFengCheck(int Id, string name)
        {
            var dt = new IncorruptDataSet.T_LingDaoDangFengCheckDataTable();
            base.Helper.Fill(dt, "P_LingDaoDangFengCheck_S", Id, name);
            return dt;
        }
    }
}
